package com.zwy.fornote.service;

import com.zwy.fornote.entity.req.NewAnswerReq;
import com.zwy.fornote.entity.vo.AnswerVO;

import java.util.List;

/**
 *回答接口
 *
 * @author zhuyi 1205242
 * @version AnswerService 2021/3/28 18:53
 */
public interface AnswerService {

    //新建问题
    int answerQuestion(NewAnswerReq req);

    //根据问题ID获取回答信息和用户信息
    List<AnswerVO> getAnswerByQuesId(int quesId);
}
